]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspace: Remove tweens of overlay.title before animate again
authorCarlos Soriano <carlos.soriano89@gmail.com>
Tue, 26 Aug 2014 17:10:02 +0000 (19:10 +0200)
committerCarlos Soriano <carlos.soriano89@gmail.com>
Tue, 26 Aug 2014 17:35:25 +0000 (19:35 +0200)
Currently we are removing tweens of the button and border, but not from
the title. That causes the title to be in wrong positions sometimes when
dragging windows on the overview, given that the slider is moving and
therefore the windows + overlay are moving too.
To avoid that, remove tweens of the title as well.

js/ui/workspace.js

index 7e157add2c2f2b86e1504752bcc6a059dff622c4..ddd043110525a7347f3bed0597a09e7449ac3a77 100644 (file)
@@ -519,6 +519,7 @@ const WindowOverlay = new Lang.Class({
 
         Tweener.removeTweens(button);
         Tweener.removeTweens(border);
+        Tweener.removeTweens(title);
 
         let [cloneX, cloneY, cloneWidth, cloneHeight] = this._windowClone.slot;